package com.efast.dmom.equipment.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.efast.dmom.equipment.api.EquipRepairControllerApi;
import com.efast.dmom.equipment.bean.EquipIdsParamBean;
import com.efast.dmom.equipment.service.repair.IEquipRepairOrderService;

/** 

* @author 作者 Aaron Liu: 

* @version 创建时间：2019年8月13日 下午4:27:55 

* 类说明 

*/
@Controller
@RequestMapping("/equipment")
public class EquipRepairController implements EquipRepairControllerApi {
	
	@Autowired
	private IEquipRepairOrderService iEquipRepairOrderService;

	@Override
	@RequestMapping(value = "/repair/deleteRepairOrders/{id}", method = RequestMethod.POST)
	public @ResponseBody void deleteRepairOrders(@PathVariable Integer id) {
		iEquipRepairOrderService.deleteRepairOrder(id);
	}

}
